package cn.broadsense.biz.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 标签新增实体
 *
 * @author: pengxin
 * @create: 2023-09-25 16:49
 * @Version 1.0
 **/
@Data
@ApiModel("标签新增实体")
public class ChannelTagVo implements Serializable {

    private static final long serialVersionUID = 3801613748167419239L;

    @ApiModelProperty("标签名称")
    @NotBlank(message = "标签名称不能空")
    private String name;
    //@NotBlank(message = "标签编码不能为空")
    @ApiModelProperty("标签编码")
    private String code;
    @ApiModelProperty("父编码")
    private String parentCode;
    @ApiModelProperty("标签类型")
    private String tagType;

    @ApiModelProperty("标签规则ID")
    private Long tagRuleId;
    @ApiModelProperty("标签规则名称")
    private String tagRuleName;
}
